package com.chen.dao.base.login;

import com.chen.entity.base.login.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * @Title:
 * @Description: to do
 * @Author: chenjiwei
 * @Date: 2020-10-28 23:06
 * @Version: 1.0.0
 */
@Repository
public interface AdminRepository extends JpaRepository<Admin, Integer>, JpaSpecificationExecutor<Admin> {
    Admin findByUsername(String username);
}
